import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';

class Detail2 extends PureComponent {
  render() {
    console.log(this.props.location);
    return (
      <div>
        <h2>Detail 2：{this.props.location.search}</h2>
        
      </div>
    );
  }
}

Detail2.propTypes = {

};

export default Detail2;